package com.yoga.manager.admin;

import com.yoga.common.appexception.AppException;
import com.yoga.common.bo.TeacherBO;
import com.yoga.common.page.PageBO;
import com.yoga.common.qto.TeacherQTO;

/**
 * Created by hdx on 2020/10/19.
 */
public interface AdminTeacherManager {

    TeacherBO addData(TeacherBO teacherBO) throws AppException;

    Boolean updateData(TeacherBO teacherBO) throws AppException;

    Boolean deleteData(Long teacherId) throws AppException;

    PageBO<TeacherBO> findForPage(TeacherQTO teacherQTO) throws AppException;

}
